/* 联系页面样式 */

/* 联系信息部分 */
.contact-page {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    margin-bottom: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.info-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-text h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-text p {
    color: var(--text-light);
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.contact-map {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 地图部分样式 */
.map-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* 地图部分样式修改 */
.map-embed {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-embed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.transportation-info h3,
.nearby-attractions h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.transport-item {
    margin-bottom: 15px;
}

.transport-item h4 {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.transport-item h4 i {
    margin-right: 10px;
}

.transport-item p {
    color: var(--text-light);
    padding-left: 25px;
}

.nearby-attractions {
    margin-top: 25px;
}

.nearby-attractions ul li {
    margin-bottom: 8px;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.nearby-attractions ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* FAQ部分样式 */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

/* 反馈部分样式 */
.feedback-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.feedback-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feedback-text h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.feedback-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 反馈图片部分修改 */
.feedback-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px; /* 设置固定高度 */
}

.feedback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feedback-form {
    margin-top: 30px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rating-container {
    margin-bottom: 20px;
}

.rating-container label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 500;
}

.rating {
    display: flex;
    gap: 10px;
}

.rating-star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-star:hover,
.rating-star.active {
    color: #ffb400;
}

/* 社交媒体部分 */
.social-section {
    padding: 60px 0;
    background-color: #fff;
}

.social-container {
    text-align: center;
}

.social-text {
    max-width: 600px;
    margin: 0 auto 40px;
}

.social-text h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.social-text p {
    color: var(--text-light);
    line-height: 1.7;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.social-icon:hover i {
    color: white;
}

.social-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-feeds {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.social-feed {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feed-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.feed-platform {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.feed-platform i {
    font-size: 1rem;
    color: white;
}

.feed-platform.weibo {
    background-color: #e6162d;
}

.feed-platform.wechat {
    background-color: #07c160;
}

.feed-platform.douyin {
    background-color: #000000;
}

.feed-platform.xiaohongshu {
    background-color: #fe2c55;
}

.feed-info h4 {
    margin-bottom: 3px;
    color: var(--dark-color);
    font-size: 1rem;
}

.feed-info p {
    color: var(--text-light);
    font-size: 0.8rem;
}

.feed-content {
    padding: 15px;
}

.feed-content p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.feed-image {
    height: 150px;
    overflow: hidden;
}

.feed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.feed-action {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.feed-action i {
    margin-right: 5px;
}

/* 订阅部分 */
.subscribe-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.subscribe-content p {
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.subscribe-form button {
    padding: 15px 25px;
    background-color: var(--dark-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.subscribe-form button:hover {
    background-color: #000;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .contact-content,
    .map-container,
    .feedback-content {
        grid-template-columns: 1fr;
    }
    
    .map-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-feeds {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .social-feeds {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .subscribe-form button {
        border-radius: 4px;
        width: 100%;
    }
    
    .rating {
        justify-content: center;
    }
}

/* 表单美化部分 */
.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(200, 60, 35, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #c83c23, #e74c3c);
}

.contact-form h2 {
    color: #c83c23;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

.contact-form p {
    color: #666;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.required {
    color: #c83c23;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: #c83c23;
    box-shadow: 0 0 0 3px rgba(200, 60, 35, 0.1);
    background-color: #fff;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* 性别单选框样式 */
.gender-options {
    display: flex;
    gap: 20px;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #c83c23;
    cursor: pointer;
}

.radio-group label {
    margin-bottom: 0;
    cursor: pointer;
}

/* 验证码部分 */
.captcha-container {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.captcha-container input {
    flex: 1;
}

.captcha-image {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image img {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.refresh-btn {
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.refresh-btn:hover {
    background-color: #e0e0e0;
}

/* 隐私政策复选框 */
.privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c83c23;
}

.privacy-checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.privacy-link {
    color: #c83c23;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    text-decoration: underline;
}

.submit-btn {
    padding: 14px 28px;
    background: linear-gradient(to right, #c83c23, #e74c3c);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(200, 60, 35, 0.2);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(to right, #b02e19, #d13c2e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 60, 35, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(200, 60, 35, 0.2);
}

/* 红色下划线装饰 */
.form-title-decoration {
    height: 2px;
    background-color: #c83c23;
    width: 100%;
    margin-bottom: 30px;
}